<?php

class System_Model_TestsResult extends Asd_Model
{
    public function __construct($id = null) {
        parent::__construct(new System_Model_DbTable_TestsResult(), $id);
    }
    
    public function getTestResult($id) {
        $select = $this->_dbTable->select()
                ->where('source_id = ?', $id)
                ->order('test_num ASC');
        return $this->_dbTable->fetchAll($select);
    }

}

